package com.funny.stock.data.collect;

import com.funny.stock.data.vo.RealtimeStockData;
import com.funny.stock.data.vo.Stock;
import com.funny.stock.data.vo.StockStatus;
import com.funny.stock.data.vo.StockType;

import java.util.List;
import java.util.Map;

/**
 * @author pengl
 * @date 2020/11/08
 **/
public interface RealTimeStockService {

    StockStatus getStockStatus();

    Map<String,RealtimeStockData> getStockDataList(List<Stock> stocks);

    RealtimeStockData getRealtimeData(String code, StockType type);

}
